package com.bristua.mall.order.dao;

import com.bristua.mall.order.model.TOrderGoods;
import com.bristua.mall.order.model.condition.TOrderGoodsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TOrderGoodsMapper {
    int countByExample(TOrderGoodsExample example);

    int deleteByExample(TOrderGoodsExample example);

    int deleteByPrimaryKey(String orderGoodsId);

    int insert(TOrderGoods record);

    int insertSelective(TOrderGoods record);

    List<TOrderGoods> selectByExampleWithBLOBs(TOrderGoodsExample example);

    List<TOrderGoods> selectByExample(TOrderGoodsExample example);

    TOrderGoods selectByPrimaryKey(String orderGoodsId);

    int updateByExampleSelective(@Param("record") TOrderGoods record, @Param("example") TOrderGoodsExample example);

    int updateByExampleWithBLOBs(@Param("record") TOrderGoods record, @Param("example") TOrderGoodsExample example);

    int updateByExample(@Param("record") TOrderGoods record, @Param("example") TOrderGoodsExample example);

    int updateByPrimaryKeySelective(TOrderGoods record);

    int updateByPrimaryKeyWithBLOBs(TOrderGoods record);

    int updateByPrimaryKey(TOrderGoods record);
}